package com.gmail.sakamoto.jun05;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

public class CinemaSearchActivity extends Activity {
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);

		Intent intent = new Intent(getApplicationContext(),
				MainMenuActivity.class);
		startActivity(intent);

	}

	@Override
	protected void onStart() {
		super.onStart();
	}

	@Override
	protected void onResume() {
		super.onResume();
		sleep(1000);
		finish();
	}

	public synchronized void sleep(long msec) {
		try {
			wait(msec);
		} catch (InterruptedException e) {
		}
	}
}
